package UI.BaseModels;

import java.awt.Font;

import javax.swing.JButton;

public class PurchaseSellButton extends JButton {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6735138391163373442L;
	/**
	 * Purchase and Sell panels both incorporate this class as their confirm-button so the text and position is equal for both panels.
	 * @param text
	 * The text to put on the button (sell or purchase).
	 */
	public PurchaseSellButton(String text) {
		setText(text);
		setFont(new Font("Tahoma", Font.PLAIN, 15));
		setBounds(96, 191, 124, 39);
	}
	
}
